package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Category;
import entity.Result;

public interface CategoryService extends IService<Category> {
    Result findAll();

    Result add(Category category);


    Result findPage(Integer page, Integer size);

    Result findById(Integer id);



    Result updateById(Integer id, Category category);

    Result deleteById(Integer id);

    Result findPage(Integer page, Integer size, Category category);
}
